---
title: "cookie · RUAL Documentation"
description: "Returns the cookie with the given name."
canonical: https://docs.rual.nl/block-types/http connection/httpconnection_get_cookie
language: en
---

# cookie

This block is part of the [`http connection`](https://docs.rual.nl/block-types/http%20connection) group and was last modified in core [`v12.0.4`](https://docs.rual.nl/core-versions/120004).

Returns the cookie with the given name.

- connection required `httpconnection`

- name required `value` The name of the cookie

- value `value` The value of the cookie

A typical wiring for [cookie](https://docs.rual.nl/block-types/http%20connection/httpconnection_get_cookie): [value](https://docs.rual.nl/block-types/value/value_default) feeds the `name` pin; the `value` out pin feeds [convert to uppercase](https://docs.rual.nl/block-types/value/value_to_uppercase).

![Studio canvas example for the cookie block: typical wiring for cookie.](https://docs.rual.nl/canvas-examples/httpconnection_get_cookie.png)

### Version history

Introduced in [`v12.0.4`](https://docs.rual.nl/core-versions/120004).
